* {
    padding: 0;
    margin: 0;
    list-style: none;
    /*点击高亮我们需要清除清除  设置为transparent 完成透明*/
    -webkit-tap-highlight-color: transparent;
}
/*在移动端浏览器默认的外观在iOS上加上这个属性才能给按钮和输入框自定义样式*/

input {
    -webkit-appearance: none;
}
img,
a {
    -webkit-touch-callout: none;
}

img {
    /* 解决图片与图片之间的空隙问题 */
    vertical-align: middle;   
} 
a {
    color: #666;
    text-decoration: none;;
}
.clearfix::after {
    content: '';
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}
.clearfix {
    zoom: 1;
}
body {
    width: 100%;
    margin: 0 auto;
    min-width: 320px;
    max-width: 640px;
    font-size: 14px;
    font-family: -apple-system, Helvetica, sans-serif;
    color: #666;
    line-height: 1.5;
    /* background-color: skyblue; */
    background-color: #fff;
}
.app {
    height: 45px;
}

.app li {
    float: left;
    height: 45px;
    line-height: 45px;
    text-align: center;
    color: #fff;
    background-color: #333333;
}
.app li:nth-child(1) {
    width: 8%;
}
.app li:nth-child(1) img {
    width: 10px;
}
.app li:nth-child(2) {
    width: 10%;
   
}
.app li:nth-child(2) img {
    width: 30px;
    vertical-align: middle;
}
.app li:nth-child(3) {
    width: 57%;
}
.app li:nth-child(4) {
    width: 25%;
    background-color: #f63515;
}

/* 搜索区域 */

.search-wrap {
    position: fixed;
    overflow: hidden;
    width: 100%;
    height: 44px;
    min-width: 320px;
    max-width: 640px;
}
.search-btn{
    position: absolute;
    left: 0;
    top: 0;
    width: 40px;
    height: 44px;
}
.search-btn::before {
    content: '';
    display: block;
    width: 20px;
    height: 18px;
    background: url('../images/列表.png') no-repeat;
    background-size: 20px 18px;
    margin: 14px 0 0 15px;
}

.search {
    position: relative;
    height: 30px;
    background-color: #fff;
    margin: 0 50px;
    border-radius: 15px;
    margin-top: 7px;
}
.jd-icon {
    position: absolute;
    top: 8px;
    left: 13px;
    width: 20px;
    height: 15px;
    background: url('../images/jd.png') no-repeat;
    background-size: 20px 15px;
}

.jd-icon::after {
    content: '';
    position: absolute;
    top: 0px;
    right: -5px;
    display: block;
    width: 1px;
    height: 15px;
    background-color: #ddd;
}
.sou{
    position: absolute;
    left: 46px;
    top: 8px;
    width: 18px;
    height: 15px;
    background: url('../images/jd-sprites.png') no-repeat -81px 0;
    background-size: 200px;
    /* background-color: skyblue; */
}

.search-login {
    position: absolute;
    right: 0;
    top: 0;
    width: 40px;
    height: 40px;
    color: #fff;
    line-height: 40px;
}


/* 主体区域 */
.slider img {
    width: 100%;
}

/* 活动区域 */
.brand div {
    float: left;
    width: 33.333%;

}
.brand div img {
    width: 100%;
}
/* 导航栏区域 */

nav a {
    width: 20%;
    float: left;
    text-align: center;
    

}
nav a img{
   width: 40px;
   margin: 10px 0;
}
nav a span {
    display: block;
}
/* 新闻区域 */

.news img {
    width: 100%;
}
.news a {
    float: left;
    box-sizing: border-box;
    background-color: pink;
}
.news a:first-child {
    width: 50%;
}
.news a:nth-child(n+2) {
    border-left: 1px solid #ccc;
    width: 25%;
}
.news img {}